package Helper;

import java.util.ArrayList;
import java.util.List;

public class DuplicateRemover {

	public static String[] removeDuplicates(String[] strings) {
		List<String> noDuplicates = new ArrayList<String>();
		for (String str : strings)
			if (!noDuplicates.contains(str))
				noDuplicates.add(str);
		String [] ret = new String [noDuplicates.size()];
		for (int i=0; i<noDuplicates.size(); i++)
			ret[i] = (noDuplicates.get(i));
		return ret;
	}

	
}
